//
//  YJQSportTrakingLineModel.h
//  GoodLuck
//
//  Created by 杨瑞 on 16/12/14.
//  Copyright © 2016年 杨瑞. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YJQSportPolyline.h"
#import <MAMapKit/MAMapKit.h>

@interface YJQSportTrakingLineModel : NSObject

- (instancetype)initWithStartLocation:(CLLocation *)startLocation endLocation:(CLLocation *)endLocation;

@property (nonatomic,strong,readonly) CLLocation *startLocation;
@property (nonatomic,strong,readonly) CLLocation *endLocation;
/**
 描述起始点和结束点之间的折线模型
 */
@property (nonatomic,readonly) YJQSportPolyline *polyline;
/**
 速度
 */
@property(nonatomic, readonly) CLLocationSpeed speed;
/**
 运动时间
 */
@property(nonatomic, assign) NSTimeInterval time;
/**
 两点之间的距离
 */
@property(nonatomic, assign) CLLocationDistance distance;
@end
